let fs = require('fs')
let read = fs.readFileSync('./game.txt','utf-8')
console.log(read);
read = read.split('  ');
read.forEach((item)=>{
    let info = item.replace('=',':');
    // console.log(info);
    fs.writeFileSync('./newgame.txt',info+'\r\n',{flag:'a'})
})